package com.example.service;

import com.example.pojo.*;

import java.util.List;

public interface TeacherService {
    Teacher login(Teacher teacher);

    String getNameByUserName(String username);

    List<Plan> listplan(String username);

    Teacher getByUserMsg(String username);

    void addPlan(Progress plan);

    Integer getIdByUser(String username);

    Plan selectPlan(SelectDeta selectDeta);

    Teacher login2(Teacher teacher);

    List<HomeWork> listHomeWork(String username);

    void addHomeWork(HomeWork homeWork);

    HomeWork selectHomeWork(SelectDeta selectDeta);

    List<Task> listTask(String username);

    Task selectTask(SelectDeta selectDeta);

    void addTask(Task task);

   Select  getByUserName(String username);

    List<Announcemen> getAnnoun(String username);

    List<Progress> listProgress(String username);

    void addProgress(Progress progress);

    void setPassWord(Pass pass);

    List<Opinion> listOpinion(String username);

    List<Teacher> listTeacher();

    List<Student> listStudent(String username);

    void addClassFee(ClassFee classFee);

    List<Teacher> getTeacherByClass(String username);
}
